<template>
  <view
    :style="styleObj"></view>
</template>

<script>
import { mapGetters } from 'vuex';
export default {
  name: 'StatusBar',
  computed: {
    ...mapGetters(['statusBarHeight']),
    styleObj() {
      return `height: ${this.statusBarHeight}px`; 
    },
  },
};
</script>

<style lang="scss">

</style>